package com.xindacloud.sms.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@TableName
@AllArgsConstructor
@NoArgsConstructor
public class SmsUserRole implements Serializable {

    private static final long serialVersionUID = 1573611198209L;


    /**
     * 主键
     * 流水ID
     * isNullAble:0
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户表id
     * isNullAble:0
     */
    private Integer userId;

    /**
     * 角色表ID
     * isNullAble:0
     */
    private Integer roleId;

    /**
     * isNullAble:1,defaultVal:CURRENT_TIMESTAMP
     */
    private java.time.LocalDateTime createTime;
}
